import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.Scanner;

public class Time {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        System.out.println("请输入年份");
        int year= scan.nextInt();
        System.out.println("请输入月份");
        int month=scan.nextInt();
        System.out.println("请输入日期");
        int dayOfMonth=scan.nextInt();
        LocalDate date = LocalDate.of(year,month,dayOfMonth);
        DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy年 M月 d日");
        System.out.println(date.format(formatter));
    }
}
